if(TARGET ${APP_NAME_LC}::UDEV)
  list(APPEND SOURCES PeripheralBusUSBLibUdev.cpp)
  list(APPEND HEADERS PeripheralBusUSBLibUdev.h)
elseif(TARGET ${APP_NAME_LC}::LibUSB)
  list(APPEND SOURCES PeripheralBusUSBLibUSB.cpp)
  list(APPEND HEADERS PeripheralBusUSBLibUSB.h)
endif()

if(SOURCES)
  core_add_library(platform_linux_peripherals)
endif()
